<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" />-->
<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all-neptune.css" />
<link rel="stylesheet" type="text/css" href="extjs/resources/css/desktop.css" />

<script type="text/javascript" src="extjs/ext-all.js"></script>
<script type="text/javascript" src="extjs/locale/ext-lang-zh_CN.js"></script>
<title>ECRMYM</title>

<script type="text/javascript">  
	Ext.Loader.setPath({                   //命名空间的设置
		enabled : false,
    	'Ext.ux.desktop': 'extjs/desktopjs',
    	MyDesktop: 'app'
	});

	Ext.require('MyDesktop.App');

	var myDesktopApp;
	Ext.onReady(function () {
    //	myDesktopApp = new MyDesktop.App();
    	Ext.application({
			//为应用程序起一个名字,相当于命名空间
  		  name: 'ExtAppSystem',
			//应用的根目录
			appFolder : 'app',
			//声明所用到的控制层
 		   controllers: [
    	//系统的各模块控制器
  	//	  	'FrameControl'
  	//	  	,'SaleInfoControl'
  	//	  	'SystemControl'
   	//	 	,'CustomerControl'
  	//	  	,'MarketControl'
  	//	  	,'ServiceInfoControl'
   		 ],
			//当前页面加载完成执行的函数 
   		 launch: function() {
     		   //创建系统UI Frame
     //		   Ext.create('ExtAppSystem.view.Frame',{id:'frame'});
     //		   myDesktopApp = new MyDesktop.App();
     		   Ext.create('MyDesktop.App', {})
  		  }
		});
	});
</script>
</head>
<body>

</body>
</html>